PEExportTo

Use PEExportTo to export a print job using the name, format, and destination specified in the PEExportOptions. Use this function any time you want to print a report to a file or export it for use in other programs.

C Syntax
BOOL CRPE_API PEExportTo (
        short printJob,
        PEExportOptions FAR *options );
Parameters

printJob

Specifies the print job that you want to export.

options

Specifies a pointer to PEExportOptions.

Returns
VB Syntax

VB Sample Code for exporting a report

Declare Function PEExportTo Lib "crpe32.dll" ( ByVal printJob As 
Integer,
    ExportOptions As PEExportOptions ) As Integer

Note:    Visual Basic method PEExportTo will fail unless method PEGetExportOptions is called.

Delphi Syntax
function PEExportTo (
    printJob: Word;
    var options: PEExportOptions
    ): Bool stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com